//
//  WmcUserSettingsModel.swift
//  YPWatermarkCamera
//
//  Created by 周诗松 on 2022/4/29.
//

import Foundation

struct WmcUserSettingsModel: YPNetworkJsonProtocol {
    /// 用户id
    var userId: String = "0"
    
    /// 自动上传
    var autoUpload: Bool = true
    
    /// 默认项目id
    var defaultProjectId: String = ""
    
    mutating func mapping(mapper: HelpingMapper) {
        mapper <<< self.userId <-- "user_id"
        mapper <<< self.autoUpload <-- "auto_upload"
        mapper <<< self.defaultProjectId <-- "default_project_id"
    }
}
